#{extends 'main.html' /} #{set title:'Home' /}


<div id = main>

<h3>Create Draft</h3>


<form id="newdraft" action="@{DraftController.showDraft()}"
	method="POST">


	<label>Subject*</label> <br> <input type="text" name="subject" required/>
	<br> <label>Body*</label> <br>
	<textarea rows="20" cols="50" name="Body" required></textarea>


	<br> <br> <br> <input type="submit" name="save"
		value="Save >>" /> #{if flash.error}
	<p style="color: #c00">${flash.error}</p>
	#{/if}

</form>
</div>